package com.hn.gege.sys.modules.tt.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * <p>
 * 注释
 * </p>
 *
 * @author zxy
 * @since 2021-08-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tt_tt")
@ApiModel(value="Tt对象", description="注释")
public class Tt implements Serializable {

    public interface INSERT{}

    private static final long serialVersionUID = 1L;
    @TableField(fill = FieldFill.INSERT)
    @NotBlank
    private String id;

    @ApiModelProperty(value = "姓名")
    private String ttName;

    @ApiModelProperty(value = "性别", required = true)
    @NotBlank(groups = {INSERT.class})
    private String sex;

    @ApiModelProperty(value = "高度")
    private String height;



}
